//
//  expertModel.m
//  ILiangCang
//
//  Created by ZX on 16-4-19.
//  Copyright (c) 2016年 CRQ. All rights reserved.
//

#import "expertModel.h"

@implementation expertModel


-(id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self)
    {
        _userName = dic[@"user_name"];
        _userDesc = dic[@"user_desc"];
        _userImage = [NSURL URLWithString:dic[@"user_image"]];
        
    }
    return self;
}
+(id)expertModelWithDictionary:(NSDictionary *)expertDictionary
{
    return [[self alloc]initWithDictionary:expertDictionary];
    
}

@end
